<form class="bs-example form-horizontal form-validation" name="form">
    <div class="modal-body form-horizontal form">
        <div class="form-body portlet light">
            <div class="portlet-title clearfloat" style="padding-bottom:10px;border-bottom:1px solid #ececec;">
                <div class="caption font-green-sharp" style="display:inline-block;float:left;">
                    <i class="fa fa-plus"></i>
                    <span class="caption-subject bold uppercase">删除客户端</span>
                </div>
                <div class="tools" style="float:right; cursor:pointer;">
                    <i class="fa fa-close" ng-click="cancel()"></i>
                </div>
            </div>
            <div class="portlet-body">
                <div class="form-body" style="padding:15px;">
                    <div class="row">
                        <div class="col-md-12  margin-top-15">
                            <!-- form start -->
                            <div class="form-group">
                                <label class="col-lg-2 control-label">名称：</label>
                                <div class="col-lg-4">
                                    <input type="text" class="form-control" ng-model="client.name" disabled >
                                </div>
                            </div>
                            <div class="form-group" >
                                <label class="col-lg-2 control-label">地址：</label>
                                <div class="col-lg-4">
                                    <input type="text" class="form-control" ng-model="client.hostAddress" disabled >
                                </div>
                            </div>
                            <div class="form-group" >
                                <label class="col-lg-2 control-label">客户端端口：</label>
                                <div class="col-lg-4">
                                    <input type="text" class="form-control" ng-model="client.port" disabled >
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-2 control-label">备注：</label>
                                <div class="col-lg-4">
                                    <input type="text" class="form-control" ng-model="client.remark" disabled >
                                </div>
                            </div>
                            <hr/>
                            <div class="form-group" >
                                <label class="col-lg-2 control-label">服务器用户：</label>
                                <div class="col-lg-4">
                                    <input type="text" placeholder="" class="form-control" ng-model="client.username" readonly="readonly" required >
                                </div>
                            </div>
                            <div class="form-group" >
                                <label class="col-lg-2 control-label">服务器密码：</label>
                                <div class="col-lg-4">
                                    <input type="text" placeholder="" class="form-control" ng-model="client.password" required >
                                </div>
                            </div>
                            <div class="form-group" >
                                <label class="col-lg-2 control-label">服务器ssh端口：</label>
                                <div class="col-lg-4">
                                    <input type="number" placeholder="" class="form-control" ng-model="client.serverPort"  required>
                                </div>
                            </div>
                            <!-- form end -->
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button class=" btn btn-primary " type="submit"  ng-click="submitApply()">确定</button>
        <button class=" btn  btn-warning" type="button" ng-click="cancel()">关闭</button>
    </div>
</form>